
.container {
  width: 100%;
  background: #D1E6F9;
  position: relative;
  padding-bottom: 250px;
  /*首页banner*/

  .loop-wrap {
    width: 100%;
    height: 450px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;

    .search-wrap {
      position: absolute;
      top: 80px;
      z-index: 99;
      display: flex;
      flex-direction: column;
      align-items: center;

      .search {
        width: 650px;
        height: 50px;
        background: #FFFFFF;
        border-radius: 5px;
        display: flex;
        align-items: center;
        border: 2px solid #086FD0;
        padding-left: 30px;
        margin-top: 50px;

        .search-button {
          width: 50px;
          height: 100%;
          background: #086FD0;
          display: flex;
          align-items: center;
          flex-shrink: 0;
          justify-content: center;

          img {
            width: 40px;
            height: 40px;
          }
        }

        input {
          flex-grow: 1;
          height: 100%;

          display: flex;
          align-items: center;
          font-weight: 400;
          font-size: 18px;
          color: #5D9AFA;
          border: unset;

          &:focus {
            border: unset;
          }

          &::-webkit-input-placeholder {
            color: #5D9AFA;
          }
        }
      }

      .logo {
        width: 360px;
        flex-shrink: 0;
        height: 120px;
      }
    }

    .banner-pagination {
      column-gap: 30px;
      display: flex;
      position: absolute;
      bottom: 10px;
      z-index: 99;
      justify-content: center;

      .swiper-pagination-bullet {
        width: 60px;
        height: 10px;
        background: #848484;
        border-radius: unset;
        opacity: 1;

        &.swiper-pagination-bullet-active {
          background: #EBEBEB;
        }
      }
    }

    .banner {
      width: 100%;
      height: 100%;

      .swiper-wrapper {
        width: 100%;
        height: 100%;

        .swiper-slide {
          width: 100%;
          height: 100%;

          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: left top;
          }
        }

      }
    }

    .methods {
      display: flex;
      position: absolute;
      top: 15px;
      z-index: 99;
      right: 12px;
      align-items: center;

      span {
        font-weight: 400;
        font-size: 18px;
        color: #282828;
        line-height: 47px;

        &:nth-of-type(2) {
          &:before {
            content: "|";
            margin: 0 12px;
          }

          &:after {
            content: "|";
            margin: 0 12px;

          }
        }
      }
    }
  }

  /*导航栏*/

  .navbar-wrap {
    width: 100%;
    height: 60px;
    background: #086FD0;
    position: sticky;
    z-index: 999;
    top: 0;

    .inner {
      width: 1440px;
      height: 100%;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      position: relative;

      .slider {
        position: absolute;
        left: 0;
        width: calc(100% / 6);
        height: 100%;
        background-color: rgba(1, 63, 120, 0.5);
        transition: left .5s ease;

      }

      .children {
        position: absolute;
        width: calc(100% / 6);
        transition: 0.5s all;
        background: #086FD0;
        bottom: calc(-(100% + 60px));

        .navbar-item {
          height: 0px;
          transition: 0.5s all;
          opacity: 0;

          display: flex;
          justify-content: center;
          align-items: center;
          width: 100%;
        }

      }

      div:hover {
        .children {
          .navbar-item {
            height: 60px;
            opacity: 1;

          }
        }
      }

      .navbar-item {
        width: 100%;
        height: 100%;
        overflow: hidden;
        display: flex;
        position: relative;
        z-index: 9;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 24px;
        color: #FEFEFE;
        transition: background-color .5s ease;

        &:hover {
          background-color: rgba(1, 63, 120, 0.5);

        }
      }

    }
  }

  .inner-container {
    width: 1440px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding-top: 40px;

    .news-classify {
      display: flex;
      width: 660px;
      flex-direction: column;
      height: 100%;

      .news-classify-swiper, .news-classify-swiper2, .news-classify-swiper3 {
        width: 100%;
        height: 0;
        flex: 1;
        margin-top: 30px;

        .swiper-slide {
          width: 100%;
          display: flex;
          flex-direction: column;

          .news-item {
            display: flex;
            justify-content: space-between;
            padding-right: 12px;
            cursor: pointer;

            &:hover span {
              color: #5D9AFA;

            }

            :hover, &.new-item-active {
              color: #5D9AFA;

              span {
                color: #5D9AFA;

              }
            }

            span {
              font-weight: 400;
              font-size: 18px;
              color: #333;
              line-height: 36px;

              &:first-child {
                width: 500px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
              }
            }
          }
        }
      }

      .menu-list {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);

        div {
          display: flex;
          width: 100%;

          &:last-child {
            justify-content: flex-end;
          }
        }

        p {
          font-weight: 400;
          font-size: 18px;
          color: #3D3E3E;
          line-height: 47px;
          align-items: center;
          padding-right: 20px;
          justify-content: flex-end;
        }

        span {
          font-weight: 400;
          font-size: 24px;
          color: #333;
          line-height: 47px;
          justify-content: center;

          &.news-menu-active {
            color: #086FD0;

          }

          &:hover {
            color: #086FD0;
          }
        }
      }
    }

    /*新闻-公告公示*/

    .news-wrap {
      width: 100%;
      height: 434px;
      background: #FFFFFF;
      padding: 20px 30px;
      display: flex;
      align-items: center;
      justify-content: space-between;

      .news-swiper {
        flex-shrink: 0;
        width: 700px;
        height: 350px;
        margin-right: 30px;

        .news-pagination {
          display: flex;
          justify-content: flex-end;
          height: 50px;
          bottom: 0;
          align-items: center;
          padding-right: 30px;

          .swiper-pagination-bullet {
            width: 12px;
            height: 12px;
            opacity: 1;
            background-color: transparent;
            border: 2px solid #fff;

            &.swiper-pagination-bullet-active {
              background-color: #fff;
            }
          }
        }

        .swiper-slide {
          width: 100%;
          height: 100%;
          position: relative;

          div {
            padding: 0 150px 0 24px;
            position: absolute;
            display: flex;
            align-items: center;
            bottom: 0;
            width: 100%;
            z-index: 9;
            height: 50px;
            background: rgba(36, 36, 36, 0.8);


            span {
              font-weight: 400;
              font-size: 18px;
              color: #FFFFFF;
              line-height: 47px;
              white-space: nowrap;
              overflow: hidden;
              text-overflow: ellipsis;

            }
          }

          img {
            width: 100%;
            height: 100%;
          }
        }
      }
    }

    /*专栏*/

    .column-wrap {
      width: 100%;
      margin-top: 25px;
      height: 200px;
      background: #FFFFFF;
      padding: 0 30px;
      display: flex;
      align-items: center;

      .column-swiper {
        flex-grow: 0;
        margin: 0 30px;

        .swiper-slide {
          img {
            width: 400px;
            height: 150px;
          }
        }

      }

      .swiper-prev, .swiper-next {
        width: 40px;
        height: 50px;
        flex-shrink: 0;

        img {
          width: 100%;
          height: 100%;
        }
      }

    }

    /*公开互动*/

    .interact-openly {
      width: 100%;
      background: #FFFFFF;
      margin-top: 25px;
      padding: 30px 20px;
      display: flex;
      flex-direction: column;

      .header {
        width: 100%;
        padding: 0 10px;
        display: flex;
        align-items: center;

        .menu-list {
          display: flex;
          align-items: center;
          column-gap: 50px;
          margin: 0 40px;

          span {
            font-weight: 400;
            font-size: 30px;
            color: #333;
            line-height: 47px;

            &.menu-active {
              color: #5D9AFA;
            }
          }
        }

        .line {
          flex-grow: 1;
          height: 1px;
          background: #B5B5B5;
        }
      }

      /*政务公开*/

      .interact-openly-content {
        width: 100%;
        height: 0;
        flex: 1;
        padding-top: 20px;

        .government-transparency {
          display: flex;
          width: 100%;
          justify-content: space-between;
          height: 100%;

          .left {
            width: 700px;
            height: 100%;
            display: flex;
            flex-direction: column;

            .methods {
              display: grid;
              grid-template-columns: repeat(2, 1fr);
              gap: 20px;

              .methods-item {
                width: 340px;
                height: 100px;
                background: #EFEFEF;
                display: flex;
                padding: 0 25px;
                align-items: center;
                transition: all 0.5s;

                &:hover {
                  background: #086FD0;
                  box-shadow: -10px 10px 10px 5px rgba(0, 0, 0, 0.5);
                  transform: translate(10px, -10px);

                  img {
                    filter: brightness(100);
                  }

                  span {
                    color: #fff;
                  }
                }

                span {
                  font-weight: 400;
                  font-size: 18px;
                  color: #3D3E3E;
                  line-height: 47px;
                }

                img {
                  width: 50px;
                  height: 50px;
                  margin-right: 10px;
                }
              }
            }

            .base {
              width: 100%;
              height: 150px;
              margin-top: 20px;
              position: relative;
              display: flex;
              align-items: center;

              img:last-child {
                position: absolute;
                width: 40px;
                height: 40px;
                right: 30px;

              }

              img:first-child {
                width: 100%;
                height: 100%;
              }

            }
          }

        }

      }

      /*民警互动*/

      .police-interaction {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;

        .bottom {
          display: flex;
          width: 100%;
          height: 120px;
          margin-top: 20px;

          > div {
            display: flex;
            justify-content: space-between;
            margin-left: 20px;
            flex-grow: 1;

            .item {
              width: 160px;
              height: 120px;
              background: #E5E5E5;
              display: flex;
              flex-direction: column;
              align-items: center;
              justify-content: center;
              transition: all 0.5s;

              &:hover {
                background: #086FD0;
                box-shadow: -10px 10px 10px 5px rgba(0, 0, 0, 0.5);
                transform: translate(10px, -10px);

                img {
                  filter: brightness(100);
                }

                span {
                  color: #fff;
                }
              }

              img {
                width: 43px;
                height: 37px;
              }

              span {
                font-weight: 400;
                font-size: 18px;
                color: #000000;
                margin-top: 20px;
              }
            }
          }

          > img {
            width: 450px;
            height: 120px;
          }
        }

        .top {
          display: grid;
          justify-content: space-between;
          grid-template-columns: repeat(2, 1fr);
          column-gap: 60px;
          height: 0;
          flex: 1;

          .news-classify-swiper3 {
            width: 100%;
            height: 100%;
            margin-top: 5px;
          }

          .interview {
            width: 100%;
            display: flex;
            flex-direction: column;

            .interview-item {
              margin-top: 20px;
              display: flex;
              align-items: center;

              div {
                display: flex;
                flex-direction: column;

                span {
                  font-weight: 400;
                  font-size: 20px;
                  color: #000000;
                  line-height: 36px;
                }
              }

              > img {
                margin-right: 22px;
                width: 350px;
                height: 200px;
              }
            }

            .interview-header {
              padding-left: 32px;
              display: flex;
              align-items: center;
              justify-content: space-between;

              span:first-child {
                font-weight: 400;
                font-size: 24px;
                color: #000000;
              }

              span:last-child {
                font-weight: 400;
                font-size: 18px;
                color: #000000;
              }
            }
          }
        }
      }
    }

    /*功能*/

    .methods-wrap {
      width: 100%;
      margin-top: 25px;
      display: flex;
      justify-content: space-between;

      .item {
        width: 220px;
        height: 200px;
        background: #FFFFFF;
        display: flex;
        align-items: center;
        justify-content: center;

        flex-direction: column;
        transition: all 0.5s;

        &:hover {
          background: #086FD0;
          box-shadow: -10px 10px 10px 5px rgba(0, 0, 0, 0.5);
          transform: translate(10px, -10px);

          img {
            filter: brightness(100);
          }

          span {
            color: #fff;
          }
        }

        img {
          width: 60px;
          height: 54px;

        }

        span {
          font-weight: 400;
          margin-top: 30rpx;
          font-size: 24px;
          color: #2F2F2F;
          line-height: 47px;
        }
      }
    }

    /*列表*/

    .list-wrap {
      margin-top: 24px;
      width: 100%;
      display: flex;
      justify-content: space-between;

      .item {
        width: 465px;
        padding: 30px;
        background: #FFFFFF;
        display: flex;
        flex-direction: column;

        .item-header {
          padding-bottom: 10px;
          width: 100%;
          display: flex;
          justify-content: space-between;
          align-items: center;
          border-bottom: 1px solid #D2D2D2;

          > span {
            font-weight: 400;
            font-size: 18px;
            color: #4F4C4C;
            line-height: 47px;
          }

          div {
            display: flex;
            align-items: center;

            span {
              font-weight: 400;
              margin-left: 10px;
              font-size: 24px;
              color: #086FD0;
              line-height: 47px;
            }

            img {
              width: 32px;
              height: 32px;
            }
          }
        }

        .item-list {
          flex: 1;
          height: 0;
          margin-top: 15px;
          width: 100%;
          display: flex;
          flex-direction: column;

          div {
            width: 100%;
            align-items: center;
            justify-content: space-between;
            display: flex;
            cursor: pointer;

            &:hover {
              span {
                color: #5D9AFA;
              }

            }

            span {
              font-weight: 400;
              font-size: 18px;
              color: #333;
              line-height: 36px;
            }
          }
        }
      }
    }

    /*某平台举报*/

    .certain-platform {
      width: 100%;
      justify-content: space-between;
      align-items: center;
      display: flex;
      margin-top: 25px;

      img {
        width: 700px;
        height: 150px;
      }
    }

    /*友情链接*/

    .friendship-link {
      width: 100%;
      height: 100px;
      background: #FFFFFF;
      margin-top: 25px;
      padding: 0 24px;
      display: flex;
      align-items: center;

      .link-list {
        flex-grow: 1;
        justify-content: space-between;
        margin-left: 18px;
        display: flex;

        .link-item {
          width: 300px;
          height: 35px;
          background: #086FD0;
          padding: 0 20px;
          display: flex;
          justify-content: space-between;
          position: relative;
          z-index: 99;

          &:hover {
            img{
              transform: rotate(180deg);
            }
            .children {
              .link-item {
                opacity: 1;
                height: 35px;
              }
            }
          }

          .children {
            position: absolute;
            left: 0;
            padding-top: 35px;
            width: 100%;
            z-index: 88;

            .link-item {
              position: unset;
              height: 0;
              transition: all 0.3s;
              opacity: 0;
              padding-left: 30px;

              &:hover {
                background-color: rgba(1, 63, 120, 0.5);
              }
            }
          }

          a {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
          }

          img {
            width: 20px;
            height: 20px;
            transition: all 0.3s;
          }

          span {
            font-weight: 400;
            font-size: 16px;
            color: #FFFFFF;
            line-height: 36px;
          }
        }
      }

      .tip {
        display: flex;
        align-items: center;

        span {
          font-weight: 400;
          font-size: 18px;
          margin-left: 6px;
          color: #086FD0;
          line-height: 36px;
        }

        img {

          width: 25px;
          height: 25px;
        }
      }
    }

  }

  /*底部*/

  .footer {
    width: 100%;
    height: 280px;
    background: #086FD0;
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    span {
      margin-bottom: 20px;
      font-weight: 400;
      font-size: 18px;
      color: #FEFEFE;
      line-height: 18px;
    }

    img {
      width: 48px;
      margin-bottom: 30px;
      height: 48px;
    }
  }
}